package com.stephen.easyexcel.write;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ExcelProperty 按顺序,相同表示在同一个层级
 */
@Data
public class ComplexHeadData {
    @ExcelProperty({"主标题", "第一段","字符串标题"})
    private String string;
    @ExcelProperty({"主标题", "第一段","日期标题"})
    private Date date;
    @ExcelProperty({"主标题", "第二段","数字标题"})
    private Double doubleData;
}